package com.dkm.ec.sale.persistence.entity;

import java.math.BigDecimal;

import org.apache.commons.lang.builder.ToStringBuilder;

import com.dkm.base.api.annotion.IField;
import com.dkm.base.api.annotion.ITable;
import com.dkm.base.db.persistence.entity.AbstractPo;

/**
 * 对象功能:产品SKU统计 Tbl对象
 * 开发公司:SKG.COM
 * 开发人员:Yuki
 * 创建时间:2015-02-03 16:37:03
 */
 @ITable(name="saleEntityStat",code="skg_sale_entity_stat")
public class SaleEntityStatTbl extends AbstractPo<String>{
	@IField(name="id",column="id_")
	protected String  id; 		/*ID*/
	@IField(name="prodId",column="prod_id_")
	protected String  prodId; 		/*产品 ID*/
	@IField(name="skuId",column="sku_id_")
	protected String  skuId; 		/*产品 SKU ID*/
	@IField(name="type",column="type_")
	protected String  type; 		/*类型。sale=销售产品统计；sku=销售产品SKU统计。*/
	@IField(name="saleQty",column="sale_qty_")
	protected Integer  saleQty; 		/*销售数量*/
	@IField(name="evalQty",column="eval_qty_")
	protected Integer  evalQty; 		/*评价数量*/
	@IField(name="favQty",column="fav_qty_")
	protected Integer  favQty; 		/*收藏数量*/
	@IField(name="saleQtyReal",column="sale_qty_real_")
	protected Integer  saleQtyReal; 		/*销售数量（真实）*/
	@IField(name="evalQtyReal",column="eval_qty_real_")
	protected Integer  evalQtyReal; 		/*评价数量（真实）*/
	@IField(name="favQtyReal",column="fav_qty_real_")
	protected Integer  favQtyReal; 		/*收藏数量（真实）*/
	@IField(name="evalSalesLevel",column="eval_sales_level_")
	protected String evalSalesLevel;
	@IField(name="salesLevel",column="sales_level_")
	protected String salesLevel;
	@IField(name="salesTotal",column="sales_total_")
	protected BigDecimal salesTotal;
	@IField(name="orderCount",column="order_count_")
	protected Integer orderCount;
	@IField(name="goodReviewQty",column="good_review_qty_")
	protected Integer goodReviewQty;/*好评数*/
	@IField(name="middleReviewQty",column="middle_review_qty_")
	protected Integer middleReviewQty;/*中评数*/
	@IField(name="mistakeReviewQty",column="mistake_review_qty_")
	protected Integer mistakeReviewQty;/*中评数*/
	
	
	public Integer getGoodReviewQty() {
		return goodReviewQty;
	}
	public void setGoodReviewQty(Integer goodReviewQty) {
		this.goodReviewQty = goodReviewQty;
	}
	public Integer getMiddleReviewQty() {
		return middleReviewQty;
	}
	public void setMiddleReviewQty(Integer middleReviewQty) {
		this.middleReviewQty = middleReviewQty;
	}
	public Integer getMistakeReviewQty() {
		return mistakeReviewQty;
	}
	public void setMistakeReviewQty(Integer mistakeReviewQty) {
		this.mistakeReviewQty = mistakeReviewQty;
	}
	public void setId(String id) 
	{
		this.id = id;
	}
	/**
	 * 返回 ID
	 * @return
	 */
	public String getId() 
	{
		return this.id;
	}
	public void setProdId(String prodId) 
	{
		this.prodId = prodId;
	}
	/**
	 * 返回 产品 ID
	 * @return
	 */
	public String getProdId() 
	{
		return this.prodId;
	}
	public void setSkuId(String skuId) 
	{
		this.skuId = skuId;
	}
	/**
	 * 返回 产品 SKU ID
	 * @return
	 */
	public String getSkuId() 
	{
		return this.skuId;
	}
	public void setType(String type) 
	{
		this.type = type;
	}
	/**
	 * 返回 类型。sale=销售产品统计；sku=销售产品SKU统计。
	 * @return
	 */
	public String getType() 
	{
		return this.type;
	}
	public void setSaleQty(Integer saleQty) 
	{
		this.saleQty = saleQty;
	}
	/**
	 * 返回 销售数量
	 * @return
	 */
	public Integer getSaleQty() 
	{
		return this.saleQty;
	}
	public void setEvalQty(Integer evalQty) 
	{
		this.evalQty = evalQty;
	}
	/**
	 * 返回 评价数量
	 * @return
	 */
	public Integer getEvalQty() 
	{
		return this.evalQty;
	}
	public void setFavQty(Integer favQty) 
	{
		this.favQty = favQty;
	}
	/**
	 * 返回 收藏数量
	 * @return
	 */
	public Integer getFavQty() 
	{
		return this.favQty;
	}
	
	public Integer getSaleQtyReal() {
		return saleQtyReal;
	}
	public void setSaleQtyReal(Integer saleQtyReal) {
		this.saleQtyReal = saleQtyReal;
	}
	public Integer getEvalQtyReal() {
		return evalQtyReal;
	}
	public void setEvalQtyReal(Integer evalQtyReal) {
		this.evalQtyReal = evalQtyReal;
	}
	public Integer getFavQtyReal() {
		return favQtyReal;
	}
	public void setFavQtyReal(Integer favQtyReal) {
		this.favQtyReal = favQtyReal;
	}
	
	public String getEvalSalesLevel() {
		return evalSalesLevel;
	}
	public void setEvalSalesLevel(String evalSalesLevel) {
		this.evalSalesLevel = evalSalesLevel;
	}
	public String getSalesLevel() {
		return salesLevel;
	}
	public void setSalesLevel(String salesLevel) {
		this.salesLevel = salesLevel;
	}
	
	public BigDecimal getSalesTotal() {
		return salesTotal;
	}
	public void setSalesTotal(BigDecimal salesTotal) {
		this.salesTotal = salesTotal;
	}
	public Integer getOrderCount() {
		return orderCount;
	}
	public void setOrderCount(Integer orderCount) {
		this.orderCount = orderCount;
	}
	/**
	 * @see java.lang.Object#toString()
	 */
	public String toString() 
	{
		return new ToStringBuilder(this)
		.append("id", this.id) 
		.append("prodId", this.prodId) 
		.append("skuId", this.skuId) 
		.append("type", this.type) 
		.append("saleQty", this.saleQty) 
		.append("evalQty", this.evalQty) 
		.append("favQty", this.favQty) 
		.append("saleQtyReal", this.saleQtyReal) 
		.append("evalQtyReal", this.evalQtyReal) 
		.append("favQtyReal", this.favQtyReal) 
		.append("evalSalesLevel", this.evalSalesLevel) 
		.append("salesLevel", this.salesLevel) 
		.toString();
	}
}